package com.ley.springboot.commons.configuration;

import com.ley.springboot.commons.utils.ApplicationContextHolder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * application context configuration
 *
 * @author 2036185346@qq.com
 **/
@Configuration
public class ApplicationContextConfiguration {

    @Bean
    public ApplicationContextHolder applicationContextHolder() {
        return new ApplicationContextHolder();
    }
}
